package ar.edu.itba.pod.legajo48013;

import ar.edu.itba.pod.legajo48013.event.ClusterEventDispatcher;
import ar.edu.itba.pod.multithread.EventDispatcher;
import ar.edu.itba.pod.multithread.LocalSimulation;
import ar.edu.itba.pod.time.TimeMapper;

public class DistributedSimulation extends LocalSimulation{
	private final EventDispatcher dispatcher;

	
	public DistributedSimulation(TimeMapper timeMapper, ClusterEventDispatcher dispatcher, String nodeId) {
		super(timeMapper);
		this.dispatcher = dispatcher;
	}
	
	public EventDispatcher dispatcher() {
		return this.dispatcher;
	}
	
}
